
import * as echarts from "echarts/core";
import {
    TitleComponent,
    TooltipComponent,
    LegendComponent,
} from "echarts/components";
import { PieChart } from "echarts/charts";
import { LabelLayout } from "echarts/features";
import { CanvasRenderer } from "echarts/renderers";
import { GraphicComponent } from 'echarts/components';
import { GridComponent } from 'echarts/components';
import { BarChart } from 'echarts/charts';

echarts.use([
    TitleComponent,
    TooltipComponent,
    LegendComponent,
    PieChart,
    CanvasRenderer,
    LabelLayout,
    GraphicComponent,
    GridComponent,
    BarChart
]);
export default echarts